home *** CD-ROM | disk | FTP | other *** search
- card_3053.xml
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
- <card>
- <id>3053</id>
- <filler1>0</filler1>
- <cantDelete> <false /> </cantDelete>
- <showPict> <true /> </showPict>
- <dontSearch> <false /> </dontSearch>
- <owner>2636</owner>
- <link rel="stylesheet" type="text/css" href="stylesheet_3178.css" />
- <part>
- <id>1</id>
- <type>field</type>
- <visible> <true /> </visible>
- <dontWrap> <false /> </dontWrap>
- <dontSearch> <false /> </dontSearch>
- <sharedText> <false /> </sharedText>
- <fixedLineHeight> <false /> </fixedLineHeight>
- <autoTab> <false /> </autoTab>
- <lockText> <true /> </lockText>
- <rect>
- <left>0</left>
- <top>0</top>
- <right>480</right>
- <bottom>240</bottom>
- </rect>
- <style>scrolling</style>
- <autoSelect> <false /> </autoSelect>
- <showLines> <false /> </showLines>
- <wideMargins> <true /> </wideMargins>
- <multipleLines> <false /> </multipleLines>
- <reservedFamily> 0 </reservedFamily>
- <titleWidth>0</titleWidth>
- <icon>0</icon>
- <textAlign>left</textAlign>
- <font>Monaco</font>
- <textSize>9</textSize>
- <textStyle>plain</textStyle>
- <textHeight>12</textHeight>
- <name>text</name>
- <script></script>
- </part>
- <content>
- <layer>card</layer>
- <id>1</id>
- <text>CMStatus
- Getting connection status information
-
- Function CMStatus(hConn: ConnHandle; VAR sizes: CMBufferSizes;
- VAR flags: CMStatFlags): CMErr;
-
- Description: CMStatus returns a variety of useful status information
- about a connection. Your application can call this
- routine at interrupt level.
-
- sizes is a variable of type CMBufferSizes that contains
- the number of characters to be read or written on the
- data, control, and attention channels. The indexes of
- the array are as follows:
-
- cmDataIn, cmDataOut, cmCntlIn, cmCntlOut, cmAttnIn,
- cmAttnOut, cmRsrvIn, cmRsrvOut.
-
- flags is a bit field with the following masks:
-
- CONST
- {tool is opening connection}
- cmStatusOpening = $00000001;
- {connection is open}
- cmStatusOpen = $00000002;
- {tool is closing connection}
- cmStatusClosing = $00000004;
- {data present on data channel}
- cmStatusDataAvail = $00000008;
- {data present on cntl channel}
- cmStatusCntlAvail = $00000010;
- {data present on attn channel}
- cmStatusAttnAvail = $00000020;
- {data read pending}
- cmStatusDRPend = $00000040;
- {data write pending}
- cmStatusDWPend = $00000080;
- {cntl read pending}
- cmStatusCRPend = $00000100;
- {cntl write pending}
- cmStatusCWPend = $00000200;
- {attn read pending}
- cmStatusARPend = $00000400;
- {attn write pending}
- cmStatusAWPend = $00000800;
- {tool is breaking the connection}
- cmStatusBreakPending = $00001000;
- {tool is “listening” for data}
- cmStatusListenPend = $00002000;
- {call waiting for tool to handle}
- cmStatusIncomingCallPresent = $00004000;
-
-
- TYPE
- CMStatFlags = LONGINT;
-
-
- Result Codes cmGenericError, cmNoErr, cmNotSupported.
- </text>
- </content>
- <name></name>
- <script></script>
- </card>
-
-
-